package com.ruoyi.biz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单条直线标注对象 biz_single_line_annotation
 * 
 * @author cc
 * @date 2025-11-11
 */
public class BizSingleLineAnnotation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 图纸ID */
    @Excel(name = "图纸ID")
    private Long drawingId;

    /** 接触网开关器ID */
    @Excel(name = "接触网开关器ID")
    private Long catenarySwitchId;

    /** 线名称 */
    @Excel(name = "线名称")
    private String lineName;

    /** 线code */
    @Excel(name = "线code")
    private String lineCode;

    /** 线颜色 */
    @Excel(name = "线颜色")
    private String lineColor;

    /** x1 */
    @Excel(name = "x1")
    private String x1;

    /** y1 */
    @Excel(name = "y1")
    private String y1;

    /** x2 */
    @Excel(name = "x2")
    private String x2;

    /** y2 */
    @Excel(name = "y2")
    private String y2;

    /** 线类型 */
    @Excel(name = "线类型")
    private String lineType;

    /** 是否可放置火车 */
    @Excel(name = "是否可放置火车")
    private String isTrainPlaceable;

    /** 标准参数 */
    @Excel(name = "标准参数")
    private String standardParams;

    /** 自定义参数 */
    @Excel(name = "自定义参数")
    private String customParams;

    /** 扩展信息 */
    @Excel(name = "扩展信息")
    private String ext;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setDrawingId(Long drawingId) 
    {
        this.drawingId = drawingId;
    }

    public Long getDrawingId() 
    {
        return drawingId;
    }

    public void setCatenarySwitchId(Long catenarySwitchId) 
    {
        this.catenarySwitchId = catenarySwitchId;
    }

    public Long getCatenarySwitchId() 
    {
        return catenarySwitchId;
    }

    public void setLineName(String lineName) 
    {
        this.lineName = lineName;
    }

    public String getLineName() 
    {
        return lineName;
    }

    public void setLineCode(String lineCode) 
    {
        this.lineCode = lineCode;
    }

    public String getLineCode() 
    {
        return lineCode;
    }

    public String getLineColor() {
        return lineColor;
    }

    public void setLineColor(String lineColor) {
        this.lineColor = lineColor;
    }

    public void setX1(String x1)
    {
        this.x1 = x1;
    }

    public String getX1() 
    {
        return x1;
    }

    public void setY1(String y1) 
    {
        this.y1 = y1;
    }

    public String getY1() 
    {
        return y1;
    }

    public void setX2(String x2) 
    {
        this.x2 = x2;
    }

    public String getX2() 
    {
        return x2;
    }

    public void setY2(String y2) 
    {
        this.y2 = y2;
    }

    public String getY2() 
    {
        return y2;
    }

    public void setLineType(String lineType) 
    {
        this.lineType = lineType;
    }

    public String getLineType() 
    {
        return lineType;
    }

    public void setIsTrainPlaceable(String isTrainPlaceable) 
    {
        this.isTrainPlaceable = isTrainPlaceable;
    }

    public String getIsTrainPlaceable() 
    {
        return isTrainPlaceable;
    }

    public void setStandardParams(String standardParams) 
    {
        this.standardParams = standardParams;
    }

    public String getStandardParams() 
    {
        return standardParams;
    }

    public void setCustomParams(String customParams) 
    {
        this.customParams = customParams;
    }

    public String getCustomParams() 
    {
        return customParams;
    }

    public void setExt(String ext) 
    {
        this.ext = ext;
    }

    public String getExt() 
    {
        return ext;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deptId", getDeptId())
            .append("drawingId", getDrawingId())
            .append("catenarySwitchId", getCatenarySwitchId())
            .append("lineName", getLineName())
            .append("lineCode", getLineCode())
            .append("lineColor",getLineColor())
            .append("x1", getX1())
            .append("y1", getY1())
            .append("x2", getX2())
            .append("y2", getY2())
            .append("lineType", getLineType())
            .append("isTrainPlaceable", getIsTrainPlaceable())
            .append("standardParams", getStandardParams())
            .append("customParams", getCustomParams())
            .append("ext", getExt())
            .toString();
    }
}
